package cn.tedu.service;/**
 * @Author 金帮嘉诚 @Date 2021-07-17 星期六 14:37
 */
/*本类用于测试*/

import cn.tedu.dao.CarDao;
import cn.tedu.dao.CarDaoImpl;
import cn.tedu.pojo.Car;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 知识点
 */
@Service
public class CarServiceImpl implements CarService {
    @Autowired
    private CarDao carDao;
    @Override
    public List<Car> get() {
        return carDao.get("t12");
    }
}
